package com.cw2.behavioral.mediator;

public class XC9527 extends Captain{
    public XC9527(ControlTower controlTower) {
        super(controlTower);
    }

    @Override
    void fly() {
        System.out.println("XC9527请求起飞。。。");
        super.controlTower.acceptRequest(this,"fly");
    }

    @Override
    void land() {
        System.out.println("XC9527请求降落。。。");
        super.controlTower.acceptRequest(this,"land");
    }

    @Override
    void success() {
        System.out.println("XC9527起飞成功。。。");
        super.controlTower.acceptRequest(this,"success");
    }
}
